package cn.bdqn.pn.reposity.base;

import cn.bdqn.pn.pojo.base.Address;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface AddressRepository extends JpaRepository<Address, Integer>, JpaSpecificationExecutor<Address> {

    /**
     * 查询全部地址
     * @return
     */
    List<Address> findAll();
}
